// 公共接口
import http from "../common/http.js"

export default {
  getPtBanner: (data, needLoading) => {
    return http.GET('/pt/pt-activity/get-pt-banner', data, needLoading)
  },
  getPtCat: (data, needLoading) => {
    return http.GET('/pt/pt-activity/get-pt-goods-cat', data, needLoading)
  },
  getPtGoodsList: (data, needLoading) => {
    return http.GET('/pt/pt-activity/get-pt-goods', data, needLoading)
  },
  getPtSquare: (data, needLoading) => {
    return http.GET('/pt/pt-activity/get-pt-square', data, needLoading)
  },
  getOrderList: (data, needLoading) => {
    return http.GET('/pt/pt-order/list', data, needLoading)
  },
  getOrderInfo: (data, needLoading) => {
    return http.GET('/pt/pt-order/order-info', data, needLoading)
  },
  getPtGoods:(data, needLoading)=>{
    return http.GET('/pt/pt-activity/get-pt-goods', data, needLoading)
  }
}
